package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 服务费用表 (数据来源于CC端主动调用)对象 st_cost
 *
 * @author shihx
 * @date 2020-02-25
 */
@ApiModel(value="st_cost",description="服务费用表") // 用来描述封装的参数对象与返回的参数对象
@JsonInclude(JsonInclude.Include.NON_NULL)
public class StCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty(value = "主键ID",name="id",required = true,dataType="Long",example="主键ID")
    private Long id;

    /** 服务编号 */

    @ApiModelProperty(value = "服务编号",name="serviceNo",required = true,dataType="String",example="服务编号")
    private String serviceNo;

    /** 服务类型 */
    @Excel(name = "服务类型")
    @ApiModelProperty(value = "服务类型",name="feeBalanceType",required = true,dataType="String",example="服务类型")
    private String feeBalanceType;

    /** 特殊费用 */
    @Excel(name = "特殊费用")
    @ApiModelProperty(value = "特殊费用",name="especiallyFee",required = true,dataType="Double",example="特殊费用")
    private double especiallyFee;

    /** 特殊费用描述 */
    @Excel(name = "特殊费用描述")
    @ApiModelProperty(value = "特殊费用描述",name="espeFeeDesc",required = true,dataType="String",example="特殊费用描述")
    private String espeFeeDesc;

    /** fse*/
    @Excel(name = "TL主键ID(如果是工程师属于哪个Tl)")
    @ApiModelProperty(value = "fse",name="fse",required = true,dataType="String",example="fse")
    private String fse;

    /** 基本费用 */
    @Excel(name = "基本费用")
    @ApiModelProperty(value = "基本费用",name="basicFee",required = true,dataType="Double",example="基本费用")
    private double basicFee;

    /** 服务小时数 */
    @Excel(name = "服务小时数")
    @ApiModelProperty(value = "服务小时数",name="hourFee",required = true,dataType="Double",example="服务小时数")
    private double hourFee;

    /** 最小小时数 */
    @Excel(name = "最小小时数")
    @ApiModelProperty(value = "最小小时数",name="minHour",required = true,dataType="Double",example="最小小时数")
    private double minHour;


    /** help_id */
    @Excel(name = "协助外键")
    @ApiModelProperty(value = "最小小时数",name="helpId",required = true,dataType="String",example="最小小时数")
    private String helpId;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getServiceNo() {
        return serviceNo;
    }

    public void setServiceNo(String serviceNo) {
        this.serviceNo = serviceNo;
    }

    public String getFeeBalanceType() {
        return feeBalanceType;
    }

    public void setFeeBalanceType(String feeBalanceType) {
        this.feeBalanceType = feeBalanceType;
    }

    public double getEspeciallyFee() {
        return especiallyFee;
    }

    public void setEspeciallyFee(double especiallyFee) {
        this.especiallyFee = especiallyFee;
    }

    public String getEspeFeeDesc() {
        return espeFeeDesc;
    }

    public void setEspeFeeDesc(String espeFeeDesc) {
        this.espeFeeDesc = espeFeeDesc;
    }

    public String getFse() {
        return fse;
    }

    public void setFse(String fse) {
        this.fse = fse;
    }

    public double getBasicFee() {
        return basicFee;
    }

    public void setBasicFee(double basicFee) {
        this.basicFee = basicFee;
    }

    public double getHourFee() {
        return hourFee;
    }

    public void setHourFee(double hourFee) {
        this.hourFee = hourFee;
    }

    public double getMinHour() {
        return minHour;
    }

    public void setMinHour(double minHour) {
        this.minHour = minHour;
    }

    public String getHelpId() {
        return helpId;
    }

    public void setHelpId(String helpId) {
        this.helpId = helpId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("serviceNo", this.getServiceNo())
                .append("feeBalanceType", this.getFeeBalanceType())
                .append("especiallyFee", this.getEspeciallyFee())
                .append("espeFeeDesc", this.getEspeFeeDesc())
                .append("fse", this.getFse())
                .append("basicFee", this.getBasicFee())
                .append("hourFee", this.getHourFee())
                .append("minHour", this.getMinHour())
                .append("helpId", this.getHelpId())

                .toString();
    }
}
